package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by jychuah on 11/12/14.
 */
public class MyDefense1 extends NXTThread {

    public MyDefense1() {
        setNXTThreadName("Defense 1");
    }

    public void run() {
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(2000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A, 100);
        runMotor(PORT_B, -100);
        wait(800);
        stopMotor(PORT_A);
        stopMotor(PORT_B);



        reset();
    }




}
